package com.cms.jy.draft.entity;

import lombok.Data;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 特效参数实体类
 */
@Data
public class EffectParam {
    /**
     * 默认值
     */
    @JsonProperty("default_value")
    private double defaultValue;
    
    /**
     * 名称
     */
    private String name;
    
    /**
     * 值
     */
    private double value;

    private double minValue;

    private double maxValue;

    public EffectParam(String name, double value, double minValue, double maxValue) {
        this.name = name;
        this.value = value;
        this.minValue = minValue;
        this.maxValue = maxValue;
    }

    public EffectParam(String name, double value) {
        this.name = name;
        this.value = value;
    }

    public EffectParam() {
    }
}